export default {

  datas: [{
    id: 1,
    name: "小蓝",
    sex: 1,
    address: "江苏南京建邺区",
    iPhone: "13855555555",
    idCard: "363355555544125687",
    career: 4,
    starDate: "2023-03-12",
    endDate: '2023-03-13',
    technologyStack: 1,
    salary: "3000",
    weight: '50',
    myImg: 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg'
  }, {
    id: 2,
    name: "小黑",
    sex: 1,
    address: "江苏南京建邺区",
    iPhone: "13855555555",
    idCard: "363355555544125687",
    career: 4,
    starDate: "2023-03-12",
    endDate: '2023-03-13',
    technologyStack: 1,
    salary: "1000",
    weight: '80',
    myImg: ['https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg', 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg']
  }, {
    id: 3,
    name: "小白",
    sex: 2,
    address: "江苏南京建邺区",
    iPhone: "13855555555",
    idCard: "363355555544125687",
    career: 5,
    starDate: "2023-03-12",
    endDate: '2023-03-13',
    salary: "8000",
    weight: '70',
    technologyStack: 2,
    myImg: 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'

  }, {
    id: 4,
    name: "小黄",
    sex: 1,
    address: "江苏南京建邺区",
    iPhone: "13855555555",
    idCard: "363355555544125687",
    career: 6,
    starDate: "2023-03-12",
    endDate: '2023-03-13',
    technologyStack: 1,
    salary: "5000",
    weight: '65',
    // hasChildren:true,
    children: [{
      id: 44,
      name: "小黄的儿子",
      sex: 1,
      address: "江苏南京建邺区",
      iPhone: "13855555555",
      idCard: "363355555544125687",
      career: 6,
      starDate: "2023-03-12",
      endDate: '2023-03-13',
      technologyStack: 1,
      salary: "5000",
      weight: '65',
    }],
    myImg: 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
  }],
  labels: [{
      id: 9,
      label: '',
      prop: '',
      type: "selection",
      isSeach: 0,
      isEdit: 0,
      isAdd: 0,
      slot: '',
    },
    {
      id: 8,
      label: '序号',
      prop: '',
      type: "index",
      isSeach: 0,
      isEdit: 0,
      isAdd: 0,
      slot: '',
    },
    {
      id: 1,
      label: '姓名',
      prop: "name",
      type: 'input',
      isSeach: 1,
      isEdit: 0,
      isAdd: 1,
      slot: '',
    }, {
      id: 2,
      label: '性别',
      prop: "sex",
      type: 'select',
      isSeach: 1,
      selectDictionary: 'sex', //selectDictionary对应字典的字段
      isEdit: 1,
      slot: 'sex',
      isAdd: 1,
    }, {
      id: 3,
      label: "住址",
      prop: "address",
      type: 'input',
      isSeach: 1,
      isEdit: 1,
      slot: '',
      isAdd: 1,
    },
    {
      id: 4,
      label: "手机号码",
      prop: "iPhone",
      type: 'input',
      isSeach: 1,
      isEdit: 1,
      slot: '',
      isAdd: 1,
      ruleName: '',
    }, {
      id: 5,
      label: "身份证号码",
      prop: "idCard",
      type: 'input',
      isSeach: 1,
      isEdit: 1,
      slot: '',
      isAdd: 1,
    },
    {
      id: 742,
      label: "体重(kg)",
      prop: "weight",
      type: 'input',
      isSeach: 0,
      // selectDictionary: 'technologyStack',
      selectDictionary: '',
      isEdit: 1,
      slot: '',
      isAdd: 1,
      isSum: 1,
      unit: 'kg'

    }, {
      id: 6,
      label: "职业",
      prop: "career",
      type: 'select',
      isSeach: 1,
      selectDictionary: 'career',
      isEdit: 1,
      slot: 'career',
      isAdd: 1,
      isSum: 0,
      unit: '',
    },
    {
      id: 12,
      label: "技术栈",
      prop: "technologyStack",
      type: 'select',
      isSeach: 1,
      // selectDictionary: 'technologyStack',
      selectDictionary: '',
      isEdit: 1,
      slot: 'technologyStack',
      isAdd: 1,

    },
    {
      id: 72,
      label: "薪资（元）",
      prop: "salary",
      type: 'input',
      isSeach: 1,
      // selectDictionary: 'technologyStack',
      selectDictionary: '',
      isEdit: 1,
      slot: '',
      isAdd: 1,
      isSum: 1,
      unit: '元'
    },
    {
      id: 7,
      label: "入职时间",
      prop: "starDate",
      type: 'date',
      isSeach: 1,
      isEdit: 1,
      slot: '',
      isAdd: 1,
    },
    {
      id: 11,
      label: "离职时间",
      prop: "endDate",
      type: 'date',
      isSeach: 1,
      isEdit: 1,
      slot: '',
      isAdd: 1,
    },
    {
      id: 33,
      label: '图片',
      prop: 'myImg',
      type: "file",
      isSeach: 0,
      isEdit: 1,
      isAdd: 1,
      slot: 'file',
    },
    {
      id: 10,
      label: "操作",
      prop: "",
      type: 'operate',
      isSeach: 0,
      slot: '',
      isAdd: 0,
      isEdit: 0,
      operate: [{
          operateName: '新增',
          methods: 'add',
          btnType: 'primary',
          code: 5,
        },
        {
          operateName: '查看',
          methods: 'view',
          btnType: 'primary',
          code: 1,
        },
        {
          operateName: '编辑',
          methods: 'edit',
          btnType: 'warning',
          code: 2,
        },
        {
          operateName: '导出',
          methods: 'export',
          btnType: 'success',
          code: 3,
        },
        {
          operateName: '删除',
          methods: 'delete',
          btnType: 'danger',
          code: 4,
        },


      ]
    },
    // {
    //   id: 11,
    //   label: '',
    //   prop: '',
    //   type: 'titleBtn',
    //   operate: [{
    //       operateName: '导出',
    //       methods: 'export',
    //       btnType: 'success'
    //     },
    //     {
    //       operateName: '删除',
    //       methods: 'delete',
    //       btnType: 'danger'
    //     }
    //   ]
    // },
  ]
}
